cmake_minimum_required(VERSION 3.20.0)

file(GLOB HIVIEW_LITE_SRC *.c)

zephyr_compile_definitions(
    OUTPUT_OPTION=1
    HILOG_LITE_SWITCH=1
    DUMP_LITE_SWITCH=0
    HIEVENT_LITE_SWITCH=1
    LOG_OUTPUT_MODULE=-1
    HIVIEW_STACK_SIZE=4096
    HIVIEW_STACK_PRIO=24
    OUTPUT_LEVEL=1
)

zephyr_include_directories(
    .
)

zephyr_sources(
    hiview_cache.c
    hiview_config.c
    hiview_file.c
    hiview_service.c
    hiview_util.c
)